package com.zte.claa.inficombo.csa.app.service.sapi.ffhost.bean;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class FFTransDevState {
	private long logid = 0; 	   //	记录ID	Long	自增长	N	主键
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone="GMT+8")
	private Timestamp collecttime; //		采集时间	Timestamp		N	创建索引
	private String deveui; 		//		用户信息传输装置资源编号	Varchar(100)		N	创建索引
	private String projectid; 	//		项目ID	VARCHAR(200)		N	归属项目，	创建索引
	private int statevalue = 0; //		用户信息传输装置状态原始值	Int	0	N	
	private byte runstate = 0; 	//		运行状态	Byte	0	N	1--正常监视状态；	0--测试状态；
	private byte firestate = 0; //		火警状态	Byte	0	N	1--火警；	0--无火警；
	private byte failstate = 0; //		故障状态	Byte	0	N	1--故障；	0--无故障；
	private byte mainpowerstate = 0; 	//		主电状态	Byte	0	N	1--主电故障；	0--主电正常；
	private byte bakpowerstate = 0; 	//		备电状态	Byte	0	N	1--备电故障；	0--备电正常；
	private byte connectstate = 0; 		//		连接状态（与上级监控平台链路）	Byte	0	N	1--连接故障；	0--连接正常；
	private byte resrv1 = 0; //		预留1	Byte	0	N	0
	private byte resrv2 = 0; //		预留2	Byte	0	N	0
	
	public FFTransDevState(){
		
	}

	public long getLogid() {
		return logid;
	}

	public void setLogid(long logid) {
		this.logid = logid;
	}

	public Timestamp getCollecttime() {
		return collecttime;
	}

	public void setCollecttime(Timestamp collecttime) {
		this.collecttime = collecttime;
	}

	public String getDeveui() {
		return deveui;
	}

	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public int getStatevalue() {
		return statevalue;
	}

	public void setStatevalue(int statevalue) {
		this.statevalue = statevalue;
	}

	public byte getRunstate() {
		return runstate;
	}

	public void setRunstate(byte runstate) {
		this.runstate = runstate;
	}

	public byte getFirestate() {
		return firestate;
	}

	public void setFirestate(byte firestate) {
		this.firestate = firestate;
	}

	public byte getFailstate() {
		return failstate;
	}

	public void setFailstate(byte failstate) {
		this.failstate = failstate;
	}

	public byte getMainpowerstate() {
		return mainpowerstate;
	}

	public void setMainpowerstate(byte mainpowerstate) {
		this.mainpowerstate = mainpowerstate;
	}

	public byte getBakpowerstate() {
		return bakpowerstate;
	}

	public void setBakpowerstate(byte bakpowerstate) {
		this.bakpowerstate = bakpowerstate;
	}

	public byte getConnectstate() {
		return connectstate;
	}

	public void setConnectstate(byte connectstate) {
		this.connectstate = connectstate;
	}

	public byte getResrv1() {
		return resrv1;
	}

	public void setResrv1(byte resrv1) {
		this.resrv1 = resrv1;
	}

	public byte getResrv2() {
		return resrv2;
	}

	public void setResrv2(byte resrv2) {
		this.resrv2 = resrv2;
	}
	
}
